package com.mayisoftware.mayioa.business.staff.impl.serviceImpl;


import com.mayisoftware.mayioa.business.staff.api.domain.StaffInfo;
import com.mayisoftware.mayioa.business.staff.api.domain.StaffSearchInfo;
import com.mayisoftware.mayioa.business.staff.api.service.IStaffViewService;
import com.mayisoftware.mayioa.business.staff.impl.dao.StaffViewMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StaffViewServiceImpl implements IStaffViewService
{
    @Autowired
    private StaffViewMapper svMapper;

    @Override
    public List<StaffInfo> getStaffInfos(StaffSearchInfo searchInfo) {
        return svMapper.getStaffInfos(searchInfo);
    }
}
